Module-level declarations

Types

Link copied to clipboard
entity account
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
entity rl_state
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
function _add_auth_descriptor(account: account, auth_descriptor: auth_descriptor)
Link copied to clipboard
function _delete_all_auth_descriptors_exclude(account: account, auth_descriptor_id: byte_array)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function auth_and_log(account_id: byte_array, auth_descriptor_id: byte_array, required_flags: list<text>): account
Link copied to clipboard
function check_auth_args(a_t: text, args: byte_array, participants: list<byte_array>, required_flags: list<text>): boolean
Link copied to clipboard
function check_multi_sig_auth(args: byte_array, participants: list<byte_array>, required_flags: list<text>): boolean
Link copied to clipboard
function check_single_sig_auth(args: byte_array, participants: list<byte_array>, required_flags: list<text>): boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function get_variable_names_set(rules: gtv): set<text>
Link copied to clipboard
function handle_composed_rule(rule: gtv, variables: map<text, gtv>): boolean
Link copied to clipboard
function handle_single_rule(rule: gtv, variables: map<text, gtv>): boolean
Link copied to clipboard
function is_active(account_auth_descriptor: account_auth_descriptor): boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function is_rule_active(r: gtv, variables: map<text, gtv>): boolean
Link copied to clipboard
function is_rule_valid(rule: gtv, variables: map<text, gtv>): boolean
Link copied to clipboard
function is_simple_rule_active(rule: gtv, variables: map<text, gtv>): boolean
Link copied to clipboard
function is_valid(auth_descriptor: account_auth_descriptor): boolean
Link copied to clipboard
function load_variables(account_auth_descriptor: account_auth_descriptor): map<text, gtv>
Link copied to clipboard
function rate_limit(account: account)
Link copied to clipboard
function require_auth(account: account, descriptor_id: byte_array, required_flags: list<text>)
Link copied to clipboard
function setup_auth_descriptor_variables(account_auth_descriptor: account_auth_descriptor)
Link copied to clipboard
function update_variables(account_auth_descriptor: account_auth_descriptor, variables: map<text, gtv>)
Link copied to clipboard
function variable_value(variable: rule_variable, variables: map<text, gtv>): integer

Queries

Link copied to clipboard
@mount("ft3.get_account_auth_descriptors") query get_account_auth_descriptors(id: byte_array): list<(id: byte_array, type: text, args: byte_array)>
Link copied to clipboard
@mount("ft3.get_account_by_auth_descriptor") query get_account_by_auth_descriptor(auth_descriptor: auth_descriptor): byte_array?
Link copied to clipboard
@mount("ft3.get_account_by_id") query get_account_by_id(id: byte_array): byte_array?
Link copied to clipboard
@mount("ft3.get_account_rate_limit_last_update") query get_account_rate_limit_last_update(account_id: byte_array): (points: integer, last_update: integer)
Link copied to clipboard
@mount("ft3.get_accounts_by_auth_descriptor_id") query get_accounts_by_auth_descriptor_id(descriptor_id: byte_array): list<byte_array>
Link copied to clipboard
@mount("ft3.get_accounts_by_participant_id") query get_accounts_by_participant_id(id: byte_array): list<byte_array>
Link copied to clipboard
@mount("ft3.get_last_timestamp") query get_last_timestamp(): integer
Link copied to clipboard
@mount("ft3.is_auth_descriptor_valid") query is_auth_descriptor_valid(account_id: byte_array, auth_descriptor_id: byte_array): boolean